package com.itheima.api;

import java.util.List;

/**
 * @author 袁鹏
 * @date 2022-10-13-10:32
 */
public interface UmsRoleResourceRelationApi {
    void allocResource(Integer[] resourceIds, Integer roleId);

    List<Long> getRoleRelatedResourceId(Integer roleId);

    void deleteByResourceId(Long id);

    void deleteByResourceId(List<Long> idList);

    void deleteByRoleId(Integer[] ids);
}
